<%--
  Created by IntelliJ IDEA.
  User: Lenovo
  Date: 2019/8/31
  Time: 16:09
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>

    <title>Title</title>

    <!-- 最新版本的 Bootstrap 核心 CSS 文件 -->
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">

    <!-- 可选的 Bootstrap 主题文件（一般不用引入） -->
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/css/bootstrap-theme.min.css" integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp" crossorigin="anonymous">

    <script type="text/javascript" src="aa/jquery-3.2.1.min.js"></script>

    <!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>


    <script type="text/javascript">
        $(function(){

            $("table tr:nth-child(2n+1)").addClass("success");

        });
    </script>


</head>
<body>
    <a href="#">AAA</a>

    <span class="glyphicon glyphicon-heart" style="color: red; font-size: 30px"></span>

    <div class="container">
        <div class="row">
            <div class="col-sm-3" style="background: red">red</div>
            <div class="col-sm-3" style="background: green">green</div>
            <div class="col-sm-3" style="background: blue">blue</div>
            <div class="col-sm-3" style="background: yellow">yellow</div>

        </div>

    </div>

<table class="table table-bordered table-hover">
    <tr>
        <td>AAA</td>
        <td>AAA</td>
        <td>AAA</td>
    </tr>

    <tr>
        <td>AAA</td>
        <td>AAA</td>
        <td>AAA</td>
    </tr>

    <tr>
        <td>AAA</td>
        <td>AAA</td>
        <td>AAA</td>
    </tr>
</table>

<nav class="navbar navbar-inverse">
    <div class="container-fluid">

        <div class="navbar-header">
            <a href="#" class="navbar-brand">LOGO</a>

            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#abc">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
        </div>


        
        <div class="collapse  navbar-collapse" id="abc">
            <ul class="nav navbar-nav navbar-right">
                <li class="active"><a href="">Home</a></li>
                <li><a href="">About</a></li>
                <li><a href="" data-toggle="modal" data-target="#myModal">登录</a></li>
                <li class="dropdown">
                    <a class="dropdown-toggle" data-toggle="dropdown" href="">
                        More
                        <span class="caret"></span>
                    </a>


                    <ul class="dropdown-menu">
                        <li><a href="#">Action</a></li>
                        <li><a href="#">Another action</a></li>
                        <li><a href="#">Something else here</a></li>
                        <li role="separator" class="divider"></li>
                        <li><a href="#">Separated link</a></li>
                    </ul>

                </li>
            </ul>


            <%--<ul class="nav navbar-right">
                <li><a href="#">注销 <span class="glyphicon glyphicon-off"></span></a></li>
            </ul>--%>

        </div>

    </div>
</nav>



    <div class="modal fade" id="myModal">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span></button>
                    <h4 class="modal-title">登录信息</h4>
                </div>
                <div class="modal-body">


                    <form>
                        <div class="form-group">
                            <label for="exampleInputEmail1">Email address</label>
                            <input type="email" class="form-control" id="exampleInputEmail1" placeholder="Email">
                        </div>
                        <div class="form-group">
                            <label for="exampleInputPassword1">Password</label>
                            <input type="password" class="form-control" id="exampleInputPassword1" placeholder="Password">
                        </div>

                        <button type="submit" class="btn btn-info" style="margin-left: 90%">登录</button>
                    </form>



                </div>
                <%--<div class="modal-footer">
                    <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
                    <button type="button" class="btn btn-primary">Save changes</button>
                </div>--%>
            </div>
        </div>
    </div>

    <img src="bb/DSC_0191.jpg" alt="..." class="img-circle" style="width: 100px; height: 100px">

</body>
</html>
